<?php if(count($block->getItems()) > 0): ?>
<div class="block block-recent">
    <div class="block-title">
        <h3>Recent Added</h3>
    </div>
    <div class="block-content">
        <ul class="mini-media-list" id="block-recent">
        <?php foreach($block->getItems() as $_item): ?>
            <li class="item">
				<a href="#<?php echo $_item->getItemUrl() ?>"><?php echo $_item->getName() ?></a>
			</li>
		</ul>
		<?php endforeach ?>
    </div>
</div>
<?php endif ?>